package Graph.src;

public class Node {

	private int x = 0, y = 0, width = 50, height = 50, rank = 0;
	private Node inc, out;

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}

	public Node getInc() {
		return inc;
	}

	public void setInc(Node inc) {
		this.inc = inc;
	}

	public Node getOut() {
		return out;
	}

	public void setOut(Node out) {
		this.out = out;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	private String type;

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

}
